Skip to content

docs: update for pipecat-flows PR #263#765

Open
markbackman wants to merge 1 commit into
mainfrom
docs/flows-pr-263
Open

docs: update for pipecat-flows PR #263#765
markbackman wants to merge 1 commit into
mainfrom
docs/flows-pr-263

Conversation

@markbackman
Copy link
Copy Markdown
Contributor

Automated documentation update for pipecat-flows PR #263.

Changes

API Reference

  • types.mdx: Updated function handler return types from FlowResult | ConsolidatedFunctionResult to Any. Added deprecation notices for FlowResult, ZeroArgFunctionHandler, and LegacyFunctionHandler. Updated ConsolidatedFunctionResult first element from FlowResult | None to Any. Changed FlowsDirectFunction documentation to reflect it's now a type alias instead of Protocol. Added note about FlowArgs future widening to Mapping[str, Any] in 2.0.0.
  • flow-manager.mdx: Added deprecation notice for single-argument action handlers in register_action().

Guides

  • functions.mdx: Updated handler return values section to clarify handlers can return any JSON-serializable value. Updated direct function examples to use dict/str return types instead of FlowResult.
  • actions.mdx: Added note about single-argument action handlers being deprecated.

Gaps identified

None. All changed source files were mapped to their corresponding documentation pages.

Updates documentation to reflect type system changes from pipecat-flows PR #263:

- Widened function handler return types from FlowResult to Any
- Added deprecation notices for FlowResult, ZeroArgFunctionHandler, LegacyFunctionHandler, and LegacyActionHandler
- Updated ConsolidatedFunctionResult first element from FlowResult | None to Any
- Changed FlowsDirectFunction from Protocol to type alias
- Added note about FlowArgs future widening to Mapping[str, Any] in 2.0.0
- Updated examples to use dict/str instead of FlowResult
@markbackman markbackman added auto-docs Automated documentation update from pipecat source changes flows labels Apr 22, 2026
@mintlify
Copy link
Copy Markdown

mintlify Bot commented Apr 22, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
daily 🟢 Ready View Preview Apr 22, 2026, 2:23 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-docs Automated documentation update from pipecat source changes flows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant